#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "rngs.h"

// unit test for the outpost card.
int main() {
	int r;
	int k[10] = {adventurer, council_room, feast, gardens, mine,
		remodel, smithy, village, baron, great_hall};

	int bns = 0;
	struct gameState G;

	r = initializeGame(4, k, 1, &G);

	printf ("initializeGame(4, k, 1, &G) = %d\n", r);
	assert(r == 0);
	
	G.hand[0][0] = outpost;

	cardEffect(outpost, 0, 0, 0, &G, 0, &bns);
	assert(G.outpostPlayed == 1);
	assert(G.playedCards[0] == outpost);

	return 0;
}
